.class Lcom/example/m6wmr/MyuserActivity$mOncliclistener;
.super Ljava/lang/Object;
.source "MyuserActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/example/m6wmr/MyuserActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "mOncliclistener"
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/MyuserActivity;


# direct methods
.method private constructor <init>(Lcom/example/m6wmr/MyuserActivity;)V
    .locals 0

    .prologue
    .line 484
    iput-object p1, p0, Lcom/example/m6wmr/MyuserActivity$mOncliclistener;->this$0:Lcom/example/m6wmr/MyuserActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/example/m6wmr/MyuserActivity;Lcom/example/m6wmr/MyuserActivity$mOncliclistener;)V
    .locals 0

    .prologue
    .line 484
    invoke-direct {p0, p1}, Lcom/example/m6wmr/MyuserActivity$mOncliclistener;-><init>(Lcom/example/m6wmr/MyuserActivity;)V

    return-void
.end method

.method static synthetic access$1(Lcom/example/m6wmr/MyuserActivity$mOncliclistener;)Lcom/example/m6wmr/MyuserActivity;
    .locals 1

    .prologue
    .line 484
    iget-object v0, p0, Lcom/example/m6wmr/MyuserActivity$mOncliclistener;->this$0:Lcom/example/m6wmr/MyuserActivity;

    return-object v0
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 9
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 489
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v6

    sparse-switch v6, :sswitch_data_0

    .line 582
    :goto_0
    return-void

    .line 492
    :sswitch_0
    iget-object v6, p0, Lcom/example/m6wmr/MyuserActivity$mOncliclistener;->this$0:Lcom/example/m6wmr/MyuserActivity;

    const-string v7, "userInfo"

    const/4 v8, 0x0

    invoke-virtual {v6, v7, v8}, Lcom/example/m6wmr/MyuserActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v5

    .line 494
    .local v5, "sharedPreferences":Landroid/content/SharedPreferences;
    const-string v6, "pass"

    const-string v7, ""

    invoke-interface {v5, v6, v7}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    .line 496
    .local v4, "pwd":Ljava/lang/String;
    const-string v6, ""

    invoke-virtual {v4, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_0

    .line 498
    new-instance v1, Landroid/content/Intent;

    iget-object v6, p0, Lcom/example/m6wmr/MyuserActivity$mOncliclistener;->this$0:Lcom/example/m6wmr/MyuserActivity;

    # getter for: Lcom/example/m6wmr/MyuserActivity;->context:Landroid/content/Context;
    invoke-static {v6}, Lcom/example/m6wmr/MyuserActivity;->access$0(Lcom/example/m6wmr/MyuserActivity;)Landroid/content/Context;

    move-result-object v6

    const-class v7, Lcom/example/m6wmr/SetCodeActivity;

    invoke-direct {v1, v6, v7}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 499
    .local v1, "intent3":Landroid/content/Intent;
    iget-object v6, p0, Lcom/example/m6wmr/MyuserActivity$mOncliclistener;->this$0:Lcom/example/m6wmr/MyuserActivity;

    const/4 v7, 0x5

    invoke-virtual {v6, v1, v7}, Lcom/example/m6wmr/MyuserActivity;->startActivityForResult(Landroid/content/Intent;I)V

    goto :goto_0

    .line 502
    .end local v1    # "intent3":Landroid/content/Intent;
    :cond_0
    new-instance v0, Landroid/content/Intent;

    iget-object v6, p0, Lcom/example/m6wmr/MyuserActivity$mOncliclistener;->this$0:Lcom/example/m6wmr/MyuserActivity;

    # getter for: Lcom/example/m6wmr/MyuserActivity;->context:Landroid/content/Context;
    invoke-static {v6}, Lcom/example/m6wmr/MyuserActivity;->access$0(Lcom/example/m6wmr/MyuserActivity;)Landroid/content/Context;

    move-result-object v6

    const-class v7, Lcom/example/m6wmr/ChangeCodeActivity;

    invoke-direct {v0, v6, v7}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 503
    .local v0, "intent":Landroid/content/Intent;
    iget-object v6, p0, Lcom/example/m6wmr/MyuserActivity$mOncliclistener;->this$0:Lcom/example/m6wmr/MyuserActivity;

    invoke-virtual {v6, v0}, Lcom/example/m6wmr/MyuserActivity;->startActivity(Landroid/content/Intent;)V

    goto :goto_0

    .line 511
    .end local v0    # "intent":Landroid/content/Intent;
    .end local v4    # "pwd":Ljava/lang/String;
    .end local v5    # "sharedPreferences":Landroid/content/SharedPreferences;
    :sswitch_1
    iget-object v6, p0, Lcom/example/m6wmr/MyuserActivity$mOncliclistener;->this$0:Lcom/example/m6wmr/MyuserActivity;

    invoke-virtual {v6}, Lcom/example/m6wmr/MyuserActivity;->finish()V

    goto :goto_0

    .line 514
    :sswitch_2
    new-instance v6, Landroid/app/AlertDialog$Builder;

    iget-object v7, p0, Lcom/example/m6wmr/MyuserActivity$mOncliclistener;->this$0:Lcom/example/m6wmr/MyuserActivity;

    # getter for: Lcom/example/m6wmr/MyuserActivity;->context:Landroid/content/Context;
    invoke-static {v7}, Lcom/example/m6wmr/MyuserActivity;->access$0(Lcom/example/m6wmr/MyuserActivity;)Landroid/content/Context;

    move-result-object v7

    invoke-direct {v6, v7}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 515
    const-string v7, "\u8d26\u53f7\u9000\u51fa"

    invoke-virtual {v6, v7}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v6

    .line 516
    const-string v7, "\u5c06\u7528\u6237\u8d26\u53f7\u6e05\u7a7a"

    invoke-virtual {v6, v7}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v6

    .line 517
    const-string v7, "\u786e\u5b9a"

    .line 518
    new-instance v8, Lcom/example/m6wmr/MyuserActivity$mOncliclistener$1;

    invoke-direct {v8, p0}, Lcom/example/m6wmr/MyuserActivity$mOncliclistener$1;-><init>(Lcom/example/m6wmr/MyuserActivity$mOncliclistener;)V

    .line 517
    invoke-virtual {v6, v7, v8}, Landroid/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v6

    .line 547
    const-string v7, "\u53d6\u6d88"

    .line 548
    new-instance v8, Lcom/example/m6wmr/MyuserActivity$mOncliclistener$2;

    invoke-direct {v8, p0}, Lcom/example/m6wmr/MyuserActivity$mOncliclistener$2;-><init>(Lcom/example/m6wmr/MyuserActivity$mOncliclistener;)V

    .line 547
    invoke-virtual {v6, v7, v8}, Landroid/app/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v6

    .line 554
    invoke-virtual {v6}, Landroid/app/AlertDialog$Builder;->show()Landroid/app/AlertDialog;

    goto :goto_0

    .line 561
    :sswitch_3
    new-instance v2, Landroid/content/Intent;

    iget-object v6, p0, Lcom/example/m6wmr/MyuserActivity$mOncliclistener;->this$0:Lcom/example/m6wmr/MyuserActivity;

    # getter for: Lcom/example/m6wmr/MyuserActivity;->context:Landroid/content/Context;
    invoke-static {v6}, Lcom/example/m6wmr/MyuserActivity;->access$0(Lcom/example/m6wmr/MyuserActivity;)Landroid/content/Context;

    move-result-object v6

    const-class v7, Lcom/example/m6wmr/ChangeUserNameActivity;

    invoke-direct {v2, v6, v7}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 562
    .local v2, "intent4":Landroid/content/Intent;
    iget-object v6, p0, Lcom/example/m6wmr/MyuserActivity$mOncliclistener;->this$0:Lcom/example/m6wmr/MyuserActivity;

    const/4 v7, 0x4

    invoke-virtual {v6, v2, v7}, Lcom/example/m6wmr/MyuserActivity;->startActivityForResult(Landroid/content/Intent;I)V

    goto/16 :goto_0

    .line 569
    .end local v2    # "intent4":Landroid/content/Intent;
    :sswitch_4
    new-instance v3, Landroid/content/Intent;

    iget-object v6, p0, Lcom/example/m6wmr/MyuserActivity$mOncliclistener;->this$0:Lcom/example/m6wmr/MyuserActivity;

    # getter for: Lcom/example/m6wmr/MyuserActivity;->context:Landroid/content/Context;
    invoke-static {v6}, Lcom/example/m6wmr/MyuserActivity;->access$0(Lcom/example/m6wmr/MyuserActivity;)Landroid/content/Context;

    move-result-object v6

    const-class v7, Lcom/example/m6wmr/ChangeBindActivity;

    invoke-direct {v3, v6, v7}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 570
    .local v3, "intent5":Landroid/content/Intent;
    iget-object v6, p0, Lcom/example/m6wmr/MyuserActivity$mOncliclistener;->this$0:Lcom/example/m6wmr/MyuserActivity;

    invoke-virtual {v6, v3}, Lcom/example/m6wmr/MyuserActivity;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_0

    .line 489
    :sswitch_data_0
    .sparse-switch
        0x7f0c0001 -> :sswitch_1
        0x7f0c00ff -> :sswitch_3
        0x7f0c0101 -> :sswitch_0
        0x7f0c0103 -> :sswitch_4
        0x7f0c0105 -> :sswitch_2
    .end sparse-switch
.end method
